f01 = lambda x:f"得到的值为{x}"
"""""
相当于这行代码
def f01(x):
    return f"返回值为{x}"
"""
print(f01(2))

def list01(alist,cond):
    for i in alist:
        if cond(i):
            yield i
list02 = [12,22,43,55,8,33]
l1 = list01(list02,lambda i:i%2==0)
for i in l1:
    print(i)